package cn.saltice.idempotence.testM.observer;

import org.springframework.context.ApplicationEvent;

/**
 * @program: idempotence
 * @description:
 * @author: Mr.Liu
 * @create: 2020-10-11 09:00
 **/
public class MyEvent extends ApplicationEvent {
    private String message;
    public MyEvent(Object source,String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
